package com.thwj.common.core.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description  
 * @Author  linmengmeng
 * @Date 2025-01-18 23:49:22 
 */

@Entity
@Table ( name ="biz_user" , schema = "")
public class BizUser  implements Serializable {

	private static final long serialVersionUID =  1550845040219542669L;

	/**
	 * 主键
	 */
	@Id
   	@Column(name = "id" )
	private Long id;

//	/**
//	 * unionId
//	 */
//   	@Column(name = "unionId" )
//	private String unionId;

	/**
	 * 小程序openid
	 */
   	@Column(name = "mini_openid" )
	private String miniOpenid;

	/**
	 * 昵称
	 */
   	@Column(name = "user_nick_name" )
	private String userNickName;

	/**
	 * 头像
	 */
   	@Column(name = "user_head_pic" )
	private String userHeadPic;

	/**
	 * 头像列表(逗号隔开)
	 */
   	@Column(name = "pic_list" )
	private String picList;

	/**
	 * 性别(1:男 2：女)
	 */
   	@Column(name = "gender" )
	private Long gender;

	/**
	 * 生日
	 */
   	@Column(name = "birthday" )
	private Date birthday;

	/**
	 * 微信号
	 */
   	@Column(name = "wechat" )
	private String wechat;

	/**
	 * 用户状态（1：正常 2：已禁用）
	 */
   	@Column(name = "status" )
	private Long status;

	/**
	 * 公众号openid
	 */
   	@Column(name = "mp_openid" )
	private String mpOpenid;

	/**
	 * 是否关注了公众号
	 */
   	@Column(name = "subscribe_mp" )
	private Integer subscribeMp;

	/**
	 * 授权手机号
	 */
   	@Column(name = "phone" )
	private String phone;

	/**
	 * 联系电话
	 */
   	@Column(name = "contact_phone" )
	private String contactPhone;

	/**
	 * 个性签名
	 */
   	@Column(name = "signature" )
	private String signature;

	/**
	 * 认证种类（  1：个人 2：组织 ）
	 */
   	@Column(name = "authentication_type" )
	private Long authenticationType;

	/**
	 * 个人认证职业
	 */
   	@Column(name = "authentication_job_name" )
	private String authenticationJobName;

	/**
	 * 俱乐部认证名称
	 */
   	@Column(name = "authentication_club_name" )
	private String authenticationClubName;

	/**
	 * 是否是官方用户
	 */
   	@Column(name = "office_user" )
	private Integer officeUser;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_date" )
	private Date createDate;

	/**
	 * 修改时间
	 */
   	@Column(name = "modify_date" )
	private Date modifyDate;

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

//	public String getUnionId() {
//		return this.unionId;
//	}
//
//	public void setUnionId(String unionId) {
//		this.unionId = unionId;
//	}

	public String getMiniOpenid() {
		return this.miniOpenid;
	}

	public void setMiniOpenid(String miniOpenid) {
		this.miniOpenid = miniOpenid;
	}

	public String getUserNickName() {
		return this.userNickName;
	}

	public void setUserNickName(String userNickName) {
		this.userNickName = userNickName;
	}

	public String getUserHeadPic() {
		return this.userHeadPic;
	}

	public void setUserHeadPic(String userHeadPic) {
		this.userHeadPic = userHeadPic;
	}

	public String getPicList() {
		return this.picList;
	}

	public void setPicList(String picList) {
		this.picList = picList;
	}

	public Long getGender() {
		return this.gender;
	}

	public void setGender(Long gender) {
		this.gender = gender;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getWechat() {
		return this.wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public Long getStatus() {
		return this.status;
	}

	public void setStatus(Long status) {
		this.status = status;
	}

	public String getMpOpenid() {
		return this.mpOpenid;
	}

	public void setMpOpenid(String mpOpenid) {
		this.mpOpenid = mpOpenid;
	}

	public Integer getSubscribeMp() {
		return this.subscribeMp;
	}

	public void setSubscribeMp(Integer subscribeMp) {
		this.subscribeMp = subscribeMp;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getContactPhone() {
		return this.contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

	public String getSignature() {
		return this.signature;
	}

	public void setSignature(String signature) {
		this.signature = signature;
	}

	public Long getAuthenticationType() {
		return this.authenticationType;
	}

	public void setAuthenticationType(Long authenticationType) {
		this.authenticationType = authenticationType;
	}

	public String getAuthenticationJobName() {
		return this.authenticationJobName;
	}

	public void setAuthenticationJobName(String authenticationJobName) {
		this.authenticationJobName = authenticationJobName;
	}

	public String getAuthenticationClubName() {
		return this.authenticationClubName;
	}

	public void setAuthenticationClubName(String authenticationClubName) {
		this.authenticationClubName = authenticationClubName;
	}

	public Integer getOfficeUser() {
		return this.officeUser;
	}

	public void setOfficeUser(Integer officeUser) {
		this.officeUser = officeUser;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getModifyDate() {
		return this.modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	@Override
	public String toString() {
		return "{" +
					"id='" + id + '\'' +
//					"unionId='" + unionId + '\'' +
					"miniOpenid='" + miniOpenid + '\'' +
					"userNickName='" + userNickName + '\'' +
					"userHeadPic='" + userHeadPic + '\'' +
					"picList='" + picList + '\'' +
					"gender='" + gender + '\'' +
					"birthday='" + birthday + '\'' +
					"wechat='" + wechat + '\'' +
					"status='" + status + '\'' +
					"mpOpenid='" + mpOpenid + '\'' +
					"subscribeMp='" + subscribeMp + '\'' +
					"phone='" + phone + '\'' +
					"contactPhone='" + contactPhone + '\'' +
					"signature='" + signature + '\'' +
					"authenticationType='" + authenticationType + '\'' +
					"authenticationJobName='" + authenticationJobName + '\'' +
					"authenticationClubName='" + authenticationClubName + '\'' +
					"officeUser='" + officeUser + '\'' +
					"createDate='" + createDate + '\'' +
					"modifyDate='" + modifyDate + '\'' +
				'}';
	}

}
